inherit eutils linux-mod

DESCRIPTION="Driver for the RTL8101E/8136 network chipset"
HOMEPAGE="http://www.realtek.com.tw"
LICENSE="GPL-2"

SRC_URI="ftp://210.51.181.211/cn/nic/r8101-1.010.00.tar.bz2"

KEYWORDS="~x86"
IUSE=""
SLOT="0"

DEPEND=""
RDEPEND=""

MODULE_NAMES="r8101(drivers/net::${S}/src)"
BUILD_TARGETS="clean modules"

CONFIG_CHECK="NETDEVICES"
ERROR_NETDEVICES="${P} requires support for CONFIG_NETDEVICES (network devices)"

src_compile() {
	linux-mod_src_compile
}

src_install() {

	linux-mod_src_install
}
